package com.itheima.day03.demo04;

public class Test {
    public static void main(String[] args) {
        Lecturer lecturer =new Lecturer("小兮",2000);
        lecturer.work();
         Buyer buyer = new Buyer("xiaoxi",2020);
         buyer.work();
         Maintainer maintainer = new Maintainer("xiaoxixi",2023);
         maintainer.work();
         Tutor tutor =new Tutor("小兮笑嘻嘻",18);
         tutor.work();
    }


}
